package cn.sunshine.framework.beans.factory;

import cn.sunshine.framework.beans.BeansException;

/**
 * @Description 暴露用户操作 bean 规范
 * @Author Mokairui
 * @Since 2021/12/10
 */
public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requireType) throws BeansException;

}
